<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>
<body>
    <div id="app">
        <ol>
            <li v-for="a in actor">
                {{ a.name }}
            </li>
        </ol>
        <label for="">{{message}}</label>

    </div>
    <div id="app-2">
        <span v-bind:title="message">
            鼠标悬停几秒钟查看此处动态绑定的提示信息！
        </span>
    </div>
    <div id="app-3">
        <p v-if="seen">聪明的人才能看到我哦！</p>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script>

        var app = new Vue({
            el: '#app',
            data: {
                actor: [
                {name:'泰森'},
                    {name:'范迪塞尔'},
                    {name:'保罗沃克'},
                    {name:'米歇尔罗德里'},
                    {name:'斯坦森'}
                ],
                message: 'ok'
            }
        })

        var app2 = new Vue({
            el: '#app-2',
            data: {
                message: '页面加载于 ' + new Date().toLocaleString()
            }
        })
        var app3 = new Vue({
            el: '#app-3',
            data: {
                seen: true
            }
        })
    </script>

</body>
</html>